package com.bailan.mapper;

import com.bailan.pojo.Yiqinshuju;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BaiLan
 * @since 2022:05:24
 */
@Mapper
public interface YiqinshujuMapper extends BaseMapper<Yiqinshuju> {
    @Update({"update yiqinshuju set " +
            "D_temperature=#{dTemperature}," +
            "D_is_fever=#{dIsFever}," +
            "D_is_s_a_doctor=#{dIsSADoctor}," +
            "D_is_high_risk=#{dIsHighRisk}," +
            "D_is_out=#{dIsOut}," +
            "D_is_H_S_J_C=#{dIsHSJC}," +
            "D_is_mask=#{dIsMask}," +
            "D_remainder=#{dRemainder}+" +
            "D_is_enough=#{dIsEnough} where S_id=#{sId} and D_date=#{dDate} "})
    public int updateOrSaveData(Yiqinshuju yiqinshuju);



}
